home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_4651_†SP Speaking.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  760 b   |  21 lines

  1. SP Speaking -> count
  2.  
  3. count          integer       returns how many voices are currently
  4.                                     speaking on the computer
  5.  
  6. Returns the number of voices synthesizing speech on the computer.
  7.  
  8. This count is not just the number of voices speaking by using Speech Pack but systemwide. If any other software is speaking this will be included in the count as well. Thus, when a count of zero is returned everything is quiet.
  9. Be aware of the fact that the SP Speak String and SP Speach Text functions will not work when the SP Speaking function returns anything else but zero.
  10.  
  11. Example:
  12.   If (SP Speaking # 0)
  13.     $err := SP Speak String ("Ben";"Look who's talking!")
  14.   Else
  15.     ALERT ("Sorry, lost my speech for a moment‚Ķ")
  16.   End if
  17.  
  18.  
  19.  
  20.  
  21.